<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Spatie\Permission\Traits\HasRoles;
class Admin extends Authenticatable
{


    use HasRoles;
//    use Notifiable;
//    注意这个继承类，它继承的是Model，它得继承Authenticatable，继承这个认证登录
//    不允许填充设为空
     protected $guarded = [];

    protected $rememberTokenName = '';

}
